package com.xnyzc.lhy.common.penum;

import com.xnyzc.lhy.common.entity.PEnum;

/**
 * @Description:
 * @Author: scootXin
 * @Date: 2018/12/12 16:12
 */
public enum EHttpType implements PEnum<String> {
    GET("GET"), POST("POST"), DELETE("DELETE"), PUT("PUT"), ALL("ALL");

    private String desc;

    EHttpType(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }
}
